﻿<Window x:Class="SqlMiM.LoginWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Server authentication" 
    xmlns:controls="clr-namespace:SqlMiM.Common.Controls;assembly=SqlMiM.Common"
    xmlns:views="clr-namespace:SqlMiM.Common.View;assembly=SqlMiM.Common"
    SnapsToDevicePixels="True"
    WindowStyle="None"
    WindowStartupLocation="CenterScreen"
    FontSize="7.75pt"
    Foreground="#DDD"
    Background="#303030"        
    FontFamily="Verdana"
    AllowDrop="True" Height="330" Width="330"
    Icon="/SqlMiM;component/Images/key.png" ResizeMode="NoResize"
    AllowsTransparency="True">

    <Window.Resources>

        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/SqlMiM.Common;component/Resources/Brushes.xaml" />
                <ResourceDictionary Source="/SqlMiM.Common;component/Resources/ControlsTheme.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>

    </Window.Resources>
    <DockPanel LastChildFill="True" >

        <controls:TitleBarThumb IconSource="{Binding Path=Icon, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Window}}}"  
                                DockPanel.Dock="Top" CanChangeWindowState="False" Title="Server Authentication" TitleMargin="30,0,0,0" />
        
        
        <views:ServerLoginView Name="ServerLoginView" />

    </DockPanel>


</Window>
